package com.wdb.doctor.fallback;

import com.wdb.common.configurer.authority.AuthorityResponse;
import com.wdb.doctor.DoctorInfoService;
import com.wdb.domain.doctor.request.DoctorPinLoginRequest;
import com.wdb.domain.doctor.response.DoctorInfoResponse;
import org.springframework.stereotype.Component;

import java.util.HashMap;
import java.util.Map;

@Component
public class DoctorInfoFallback implements DoctorInfoService {
    @Override
    public Map<String, Object> findDoctorInfo(Long id) {
        return null;
    }

    @Override
    public DoctorInfoResponse findDoctorInfos() {
        return null;
    }

    @Override
    public Map<String, Object> findUserInfo(Long id) {
        HashMap<String, Object> hashMap = new HashMap<>();
        hashMap.put("name","八嘎呀路");
        return hashMap;
    }

    @Override
    public AuthorityResponse login(DoctorPinLoginRequest request) {
        return null;
    }
}
